

RUN && export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
    && export RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup
    && curl https://sh.rustup.rs -sSf | sh \
    && source $HOME/.cargo/env
    && rustup install stable && rustup default stable
    && echo "[source.crates-io]
replace-with = 'ustc'

[source.ustc]
registry = 'git://mirrors.ustc.edu.cn/crates.io-index'" >> ~/.cargo/config
    && cargo install zellij tealdeer exa zoxide fd-find ripgrep
    && tldr --update
    && echo "if [ \"$(command -v exa)\" ]; then
    alias ls='exa -G  --color auto --icons -a -s type'
    alias ll='exa -l --color always --icons -a -s type'
fi

if [ \"$(command -v bat)\" ]; then
    alias cat='bat -pp --theme=\"Nord\"'
fi

eval $(zoxide init zsh)

export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
export RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup

export PATH=\"$PATH:~/.cargo/bin\"" >> ~/.zshrc

# echo "if [ \"$(command -v exa)\" ]; then
#     alias ls='exa -G  --color auto --icons -a -s type'
#     alias ll='exa -l --color always --icons -a -s type'
# fi

# if [ \"$(command -v bat)\" ]; then
#     alias cat='bat -pp --theme=\"Nord\"'
# fi

# eval $(zoxide init zsh)

# export PATH=\"$PATH:~/.cargo/bin\"" >> ~/.zshrc


